﻿using Device.CommonLib.Models;
using Swimj.CommonLib.Base;

namespace Device.ApplicationLib.Queries
{
    public interface ICategoryQuery
    {
        Task<PaginatedResult<CategoryInfoResponseDto>> QueryCategoriesByPageAsync(CategorySearchRequestDto? model);

        Task<Result<List<CategoryInfoResponseDto>>> QueryCategoriesAsync(CategorySearchRequestDto? model);
    }
}